<?php
class Core_Authentication_Business_Abstract {
	public function __set($name,$value) {
		$method = 'set'.$name;
		if (!method_exists($this, $method))
			throw new Exception("Invalid object property, property name ".$name);
		
		$this->$method($value);
	}
	public function __get($name){
		$method = 'get'.$name;
		if (!method_exists($this, $method))
			throw new Exception("Invalid object property, property name ".$name);
		
		return $this->$method();
	}	
}
?>